package com.platform.hjt.base.costant;

public enum ErrorCode implements BaseEnum{

	NoEntity("4041", "找不到对象"), 
	NoPower("5011", "没有权限"),
	DataError("6011", "数据长度错误");
	
	private String value;
	private String key;
	
	private ErrorCode(String key, String value){
		this.key = key;
		this.value = value;
	}
	
	public String getValue(){
		return this.value;
	}
	
	public String getKey(){
		return this.key;
	}

}
